@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="companyLevel" value="${companyLevel}" name="companyLevel">
            <input type="hidden" id="winType" value="${winType}" name="winType">
            <input type="hidden" id="contestType" value="${contestType}" name="contestType">

            <div class="row">
                <div class="col-sm-6 b-r">
                            <#select id="companyLevelCode" name="公司级别" underline="true">
                                @ for(c in companyLevels!){
                                    <option value="${c.code}">${c.name}</option>
                                @}
                            </#select>

                            <#select id="winTypeCode" name="获奖类型" underline="true">
                                @ for(win in winTypes!){
                                    <option value="${win.code}">${win.name}</option>
                                @}
                            </#select>
                </div>

                <div class="col-sm-6">

                            <#select id="contestTypeCode" name="竞赛类型" underline="true">
                                @ for(type in contestTypes!){
                                    <option value="${type.code}">${type.name}</option>
                                @}
                            </#select>

                            <#input id="integral" name="积分" underline="true"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <button type="submit" class="btn btn-info" onclick="ContestRuleInfoDlg.addSubmit()" id="ensure">
                        <i class="fa fa-check"></i>&nbsp;提交
                    </button>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ContestRuleInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/integral/contestRule/contestRule_info.js"></script>
@}
